package automatagen;

public class Tupla {
	Object obj1;
	Object obj2;
	
	public Tupla(Object obj1,Object obj2) {
		this.obj1 = obj1;
		this.obj2 = obj2;
	}

	public Object getObj1() {
		return obj1;
	}

	public Object getObj2() {
		return obj2;
	}
	
	@Override
	public String toString() {
		if (obj1 instanceof Tripla){
			return ((Tripla) obj1).getSecond() + " - " + obj2.toString();
		}else{
			return "L0o0o0ki!";
		}
	}
}
